package com.yuel.accumulate.common;



/**
 * 常用工具类 
 * @author yuelong
 *
 */
public class CommonUtil {
	
	/**
	 * 判断参数字符串是否为空
	 * "" & NULL 返回true
	 * @param str
	 * @return
	 * @throws Exception
	 */
	public static boolean isNull(String str){
		boolean flag = false;
		if(null==str){
			flag = true;
		}else{
			if("".equals(str.trim())){
				flag = true;
			}
		}
		return flag;
	}
}
